package com.atguigu.gmall.item;

import com.atguigu.gmall.starter.cache.annotation.EnableAppCache;
import com.atguigu.gmall.common.config.thread.annotation.EnableAppThreadPool;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/12/3 16:05
 * @Version 1.0
 */
//@EnableAppCache
//@EnableAspectJAutoProxy
@EnableAppThreadPool
//用谁扫谁、允许bean定义信息重写
@EnableFeignClients(basePackages = {
        "com.atguigu.gmall.feign.product",
        "com.atguigu.gmall.feign.search"
})
@SpringCloudApplication
public class ItemApplication {
    public static void main(String[] args) {
        SpringApplication.run(ItemApplication.class,args);
    }
}
